<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PHP Class Manager (Smart PHP): Исходный файл pcm/structures/pclass.class.php</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PHP Class Manager (Smart PHP)
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста по использованию PCM</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Поиск');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Поиск');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_690f39e4732a141faee69ce026190629.html">pcm</a></li><li class="navelem"><a class="el" href="dir_8c03f50d02bc2c3eba0de68be1ff10c9.html">structures</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">pclass.class.php</div>  </div>
</div><!--header-->
<div class="contents">
<a href="pclass_8class_8php.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;    declare(strict_types = 1);</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;    <span class="keyword">namespace </span><a class="code" href="namespace_p_c_m_1_1_structures.html">PCM\Structures</a>;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;    </div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;    require_once $_SERVER[<span class="stringliteral">&#39;DOCUMENT_ROOT&#39;</span>].<span class="stringliteral">&quot;/work_/pcm/consts/ptypeclass.consts.php&quot;</span>;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;    </div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;    require_once <span class="stringliteral">&quot;pvar.class.php&quot;</span>;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    require_once <span class="stringliteral">&quot;pconst.class.php&quot;</span>;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;    require_once <span class="stringliteral">&quot;pmethod.class.php&quot;</span>;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    </div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    use <a class="code" href="namespace_p_c_m_1_1_structures_1_1_p_var.html">PCM\Structures\PVar</a>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    use <a class="code" href="namespace_p_c_m_1_1_structures_1_1_p_const.html">PCM\Structures\PConst</a>;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    use <a class="code" href="namespace_p_c_m_1_1_structures_1_1_p_method.html">PCM\Structures\PMethod</a>;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html">   28</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html">PClass</a></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">   30</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>;      </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">   31</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">$class_name</a>;      </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">   32</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">$superclass_name</a>; </div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a09f2c833c130b4443725fb576d9d5269">   34</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a09f2c833c130b4443725fb576d9d5269">$vars</a>;            </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a34ba5984e16f17633afe3930711d89fb">   35</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a34ba5984e16f17633afe3930711d89fb">$consts</a>;          </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a802753499268a04da139bd6e6ef89b35">   36</a></span>&#160;        <span class="keyword">private</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a802753499268a04da139bd6e6ef89b35">$methods</a>;         </div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a23c7beddfc676404c096f7769781b558">   44</a></span>&#160;        <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a23c7beddfc676404c096f7769781b558">__construct</a>(<span class="keywordtype">string</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">$class_name</a>, <span class="keywordtype">string</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">$superclass_name</a> = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">int</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a> = <a class="code" href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a>)</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        {</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            $this-&gt;class_name = str_replace(<span class="stringliteral">&quot; &quot;</span>, <span class="stringliteral">&quot;_&quot;</span>, $class_name);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            $this-&gt;superclass_name = str_replace(<span class="stringliteral">&quot; &quot;</span>, <span class="stringliteral">&quot;_&quot;</span>, <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">$superclass_name</a>);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            $this-&gt;vars = array();</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            $this-&gt;consts = array();</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            $this-&gt;methods = array();</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            </div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            <span class="keywordflow">switch</span>(<a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>)</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            {</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a9112165d1b543dde44d0d74a817550b7">ABSTRACT_CLASS</a>:</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                {</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                        $this-&gt;class_type = <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a>:</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                        $this-&gt;class_type = <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                <span class="keywordflow">default</span>: $this-&gt;class_type = <a class="code" href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8f8ee56588ebf5091c288e44ebdfaf4">   70</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8f8ee56588ebf5091c288e44ebdfaf4">getClassName</a>() : string</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        {</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">$this-&gt;class_name</a>;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a212a50ee17686b95cc32c1d707b71ef5">   79</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a212a50ee17686b95cc32c1d707b71ef5">getSuperClassName</a>() : string</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        {</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">$this-&gt;superclass_name</a>;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        }</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#aa42966c65ac71d57cb693748e2908aaf">   89</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aa42966c65ac71d57cb693748e2908aaf">getClassType</a>() : int</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$this-&gt;class_type</a>;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        }</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab81a1d1cef7f7d6c406e60bd368f94af">   99</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab81a1d1cef7f7d6c406e60bd368f94af">getVars</a>() : array</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        {</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a09f2c833c130b4443725fb576d9d5269">$this-&gt;vars</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        }</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a10329b4d402e15661b469dfd6cf92568">  109</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a10329b4d402e15661b469dfd6cf92568">getVar</a>(<span class="keywordtype">string</span> $var_name) : <a class="code" href="class_p_c_m_1_1_structures_1_1_p_var.html">PVar</a></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            <span class="keywordflow">return</span> $this-&gt;vars[$var_name];</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a4a205c628c8a391f422448e215665a73">  119</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a4a205c628c8a391f422448e215665a73">getConsts</a>() : array</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        {</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a34ba5984e16f17633afe3930711d89fb">$this-&gt;consts</a>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        }</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    </div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a722a0e9e6b6eb6a0a807f6327a190bf7">  129</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a722a0e9e6b6eb6a0a807f6327a190bf7">getConst</a>(<span class="keywordtype">string</span> $const_name) : <a class="code" href="class_p_c_m_1_1_structures_1_1_p_const.html">PConst</a></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        {</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            <span class="keywordflow">return</span> $this-&gt;consts[$const_name];</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        }</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    </div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8fcebfba8c498f2190941f7ebf62da8">  139</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8fcebfba8c498f2190941f7ebf62da8">getMethods</a>() : array</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        {</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a802753499268a04da139bd6e6ef89b35">$this-&gt;methods</a>;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        }</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a276f494557fad9a0d2c76eb2419bd5d3">  149</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a276f494557fad9a0d2c76eb2419bd5d3">getMethod</a>(<span class="keywordtype">string</span> $method_name) : <a class="code" href="class_p_c_m_1_1_structures_1_1_p_method.html">PMethod</a></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        {</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;            <span class="keywordflow">return</span> $this-&gt;methods[$method_name];</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        }</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        </div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#aba6fde36b512a943d02d2a9092ce60a8">  158</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aba6fde36b512a943d02d2a9092ce60a8">setClassName</a>(<span class="keywordtype">string</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">$class_name</a>)</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        {</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            $this-&gt;class_name = str_replace(<span class="stringliteral">&quot; &quot;</span>, <span class="stringliteral">&quot;_&quot;</span>, $class_name);</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        }</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#aefc5b0c7de95d78a9d9b52a155546f90">  168</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aefc5b0c7de95d78a9d9b52a155546f90">setSuperClassName</a>(<span class="keywordtype">string</span> $supclass)</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        {</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            $this-&gt;superclass_name = str_replace(<span class="stringliteral">&quot; &quot;</span>, <span class="stringliteral">&quot;_&quot;</span>, $supclass);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        }</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a14920c232341bc5ded4cefc8c7323551">  178</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a14920c232341bc5ded4cefc8c7323551">setClassType</a>(<span class="keywordtype">int</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>)</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        {</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            <span class="keywordflow">switch</span>($class_type)</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;            {</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a9112165d1b543dde44d0d74a817550b7">ABSTRACT_CLASS</a>:</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;                {</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;                        $this-&gt;class_type = <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a>:</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                {</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                        $this-&gt;class_type = <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">$class_type</a>;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                <span class="keywordflow">default</span>: $this-&gt;class_type = <a class="code" href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            }</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        }</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        </div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a22ca5ea6eab69c37a1a5b395f3f5b403">  199</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a22ca5ea6eab69c37a1a5b395f3f5b403">addVars</a>(array <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a09f2c833c130b4443725fb576d9d5269">$vars</a>)</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        {</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;            <span class="keywordflow">foreach</span>($vars as $var)</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            {</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                <span class="keywordflow">if</span> ($var instanceof <a class="code" href="class_p_c_m_1_1_structures_1_1_p_var.html">PVar</a>) {</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                    $this-&gt;vars[$var-&gt;getVarName()] = $var;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                }</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;            }</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        }</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        </div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#af989ca73cef04684335014eb644b4a70">  216</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#af989ca73cef04684335014eb644b4a70">addVar</a>(<a class="code" href="class_p_c_m_1_1_structures_1_1_p_var.html">PVar</a> $var)</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        {</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;            $this-&gt;vars[$var-&gt;<a class="code" href="class_p_c_m_1_1_structures_1_1_p_var.html#a01f345a64ec10225d4205181cf82c811">getVarName</a>()] = $var;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        }</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        </div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a168fb922707ce8a01d415ba9aad9b2fb">  226</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a168fb922707ce8a01d415ba9aad9b2fb">addConsts</a>(array <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a34ba5984e16f17633afe3930711d89fb">$consts</a>)</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        {</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            <span class="keywordflow">foreach</span>($consts as $const)</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            {</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                <span class="keywordflow">if</span> ($const instanceof <a class="code" href="class_p_c_m_1_1_structures_1_1_p_const.html">PConst</a>) {</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                    $this-&gt;consts[$const-&gt;getConstName()] = $const;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                }</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            }</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        }</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    </div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#aefab41a105816740e295c5f29708f85d">  243</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#aefab41a105816740e295c5f29708f85d">addConst</a>(<a class="code" href="class_p_c_m_1_1_structures_1_1_p_const.html">PConst</a> $const)</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        {</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            $this-&gt;consts[$const-&gt;<a class="code" href="class_p_c_m_1_1_structures_1_1_p_const.html#a316ad9cd5afee266fa30f53a79c1b3d3">getConstName</a>()] = $const;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        }</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        </div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a31b4c2808daa08bcea0f4ce60f75537d">  253</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a31b4c2808daa08bcea0f4ce60f75537d">addMethods</a>(array <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a802753499268a04da139bd6e6ef89b35">$methods</a>)</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        {</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            <span class="keywordflow">foreach</span>($methods as $method)</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            {</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                <span class="keywordflow">if</span> ($method instanceof <a class="code" href="class_p_c_m_1_1_structures_1_1_p_method.html">PMethod</a>) {</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                    $this-&gt;methods[$method-&gt;getMethodName()] = $method;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                }</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            }</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        }</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        </div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a3bf4c26cf1825f5cb17009b2c3095674">  270</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a3bf4c26cf1825f5cb17009b2c3095674">addMethod</a>(<a class="code" href="class_p_c_m_1_1_structures_1_1_p_method.html">PMethod</a> $method)</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        {</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;            $this-&gt;methods[$method-&gt;<a class="code" href="class_p_c_m_1_1_structures_1_1_p_method.html#a0fa2079426d0262e759c4105fa4e9163">getMethodName</a>()] = $method;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        }</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        </div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a3cb4fd172e930f8eaa3746b9ca706650">  279</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a3cb4fd172e930f8eaa3746b9ca706650">preview</a>() : string</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        {</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;            $type = <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;            <span class="keywordflow">switch</span>($this-&gt;class_type)</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            {</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a9112165d1b543dde44d0d74a817550b7">ABSTRACT_CLASS</a>:</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;                {</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                    $type = <span class="stringliteral">&quot;abstract &quot;</span>;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;            }</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            </div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            <span class="keywordflow">if</span> (!empty($this-&gt;superclass_name)) {</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;                $code .= $type.<span class="stringliteral">&quot;class &quot;</span>.$this-&gt;class_name.<span class="stringliteral">&quot; extends &quot;</span>.$this-&gt;superclass_name.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            } <span class="keywordflow">else</span> {              </div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                $code .= $type.<span class="stringliteral">&quot;class &quot;</span>.$this-&gt;class_name.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;            }</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;            </div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;            $code .= <span class="stringliteral">&quot;{\n&quot;</span>;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            </div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;consts as $const)</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            {</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                $code .= <span class="stringliteral">&quot;\t&quot;</span>.$const;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            }</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;            </div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            $code .= <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;            </div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;vars as $var)</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            {</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;                $code .= <span class="stringliteral">&quot;\t&quot;</span>.$var;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            }</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            </div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;methods as $method)</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            {</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                $lines = explode(<span class="stringliteral">&quot;\n&quot;</span>, (<span class="keywordtype">string</span>)$method);</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;                </div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;                <span class="keywordflow">foreach</span>($lines as $line)</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;                {</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;                        $code .= <span class="stringliteral">&quot;\t&quot;</span>.$line.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                }</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;            }</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;            </div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;            $code .= <span class="stringliteral">&quot;\n}&quot;</span>;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;            </div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;            <span class="keywordflow">return</span> $code;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        }</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    </div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="class_p_c_m_1_1_structures_1_1_p_class.html#a7516ca30af0db3cdbf9a7739b48ce91d">  374</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_p_c_m_1_1_structures_1_1_p_class.html#a7516ca30af0db3cdbf9a7739b48ce91d">__toString</a>()</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        {</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            $type = <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;            <span class="keywordflow">switch</span>($this-&gt;class_type)</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;            {</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;                <span class="keywordflow">case</span> <a class="code" href="ptypeclass_8consts_8php.html#a9112165d1b543dde44d0d74a817550b7">ABSTRACT_CLASS</a>:</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;                {</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;                    $type = <span class="stringliteral">&quot;abstract &quot;</span>;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;                } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;            }</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;      </div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;            <span class="keywordflow">if</span> (!empty($this-&gt;superclass_name)) {</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;                $code .= $type.<span class="stringliteral">&quot;class &quot;</span>.$this-&gt;class_name.<span class="stringliteral">&quot; extends &quot;</span>.$this-&gt;superclass_name.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;            } <span class="keywordflow">else</span> {              </div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;                $code .= $type.<span class="stringliteral">&quot;class &quot;</span>.$this-&gt;class_name.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;            }</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;      </div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;consts as $const)</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;            {</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;                $code .= <span class="stringliteral">&quot;\t&quot;</span>.$const;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;            }</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;            </div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;            $code .= <span class="stringliteral">&quot;{\n&quot;</span>;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;            </div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;vars as $var)</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;            {</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;                $code .= <span class="stringliteral">&quot;\t&quot;</span>.$var;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;            }</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;            </div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;            <span class="keywordflow">foreach</span>($this-&gt;methods as $method)</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;            {</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;                $lines = explode(<span class="stringliteral">&quot;\n&quot;</span>, (<span class="keywordtype">string</span>)$method);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;                </div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;                <span class="keywordflow">foreach</span>($lines as $line)</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                {</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;                        $code .= <span class="stringliteral">&quot;\t&quot;</span>.$line.<span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;                }</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;            }</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;            </div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;            $code .= <span class="stringliteral">&quot;\n}&quot;</span>;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;      </div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;            <span class="keywordflow">return</span> $code;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        }</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        </div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    }</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;  </div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;?&gt;</div><div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a22ca5ea6eab69c37a1a5b395f3f5b403"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a22ca5ea6eab69c37a1a5b395f3f5b403">PCM\Structures\PClass\addVars</a></div><div class="ttdeci">addVars(array $vars)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00199">pclass.class.php:199</a></div></div>
<div class="ttc" id="namespace_p_c_m_1_1_structures_html"><div class="ttname"><a href="namespace_p_c_m_1_1_structures.html">PCM\Structures</a></div><div class="ttdef"><b>Definition:</b> <a href="parg_8class_8php_source.html#l00003">parg.class.php:3</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a3cb4fd172e930f8eaa3746b9ca706650"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a3cb4fd172e930f8eaa3746b9ca706650">PCM\Structures\PClass\preview</a></div><div class="ttdeci">preview()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00279">pclass.class.php:279</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_aba6fde36b512a943d02d2a9092ce60a8"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#aba6fde36b512a943d02d2a9092ce60a8">PCM\Structures\PClass\setClassName</a></div><div class="ttdeci">setClassName(string $class_name)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00158">pclass.class.php:158</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_aebed7e867a7debf1aae00bcad6db2476"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#aebed7e867a7debf1aae00bcad6db2476">PCM\Structures\PClass\$class_type</a></div><div class="ttdeci">$class_type</div><div class="ttdoc">Тип класса </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00030">pclass.class.php:30</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a212a50ee17686b95cc32c1d707b71ef5"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a212a50ee17686b95cc32c1d707b71ef5">PCM\Structures\PClass\getSuperClassName</a></div><div class="ttdeci">getSuperClassName()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00079">pclass.class.php:79</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_const_html"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_const.html">PCM\Structures\PConst</a></div><div class="ttdef"><b>Definition:</b> <a href="pconst_8class_8php_source.html#l00005">pconst.class.php:5</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_ab8fcebfba8c498f2190941f7ebf62da8"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8fcebfba8c498f2190941f7ebf62da8">PCM\Structures\PClass\getMethods</a></div><div class="ttdeci">getMethods()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00139">pclass.class.php:139</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_ab81a1d1cef7f7d6c406e60bd368f94af"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#ab81a1d1cef7f7d6c406e60bd368f94af">PCM\Structures\PClass\getVars</a></div><div class="ttdeci">getVars()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00099">pclass.class.php:99</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a760a15d1f404a4acad8cb7a30288ae78"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a760a15d1f404a4acad8cb7a30288ae78">PCM\Structures\PClass\$class_name</a></div><div class="ttdeci">$class_name</div><div class="ttdoc">Имя класса </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00031">pclass.class.php:31</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_method_html"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_method.html">PCM\Structures\PMethod</a></div><div class="ttdef"><b>Definition:</b> <a href="pmethod_8class_8php_source.html#l00011">pmethod.class.php:11</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_var_html"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_var.html">PCM\Structures\PVar</a></div><div class="ttdef"><b>Definition:</b> <a href="pvar_8class_8php_source.html#l00008">pvar.class.php:8</a></div></div>
<div class="ttc" id="namespace_p_c_m_1_1_structures_1_1_p_method_html"><div class="ttname"><a href="namespace_p_c_m_1_1_structures_1_1_p_method.html">PMethod</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_afff12883544c7c2f40e16fd4baeb2c26"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#afff12883544c7c2f40e16fd4baeb2c26">PCM\Structures\PClass\$superclass_name</a></div><div class="ttdeci">$superclass_name</div><div class="ttdoc">Имя родительского класса </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00032">pclass.class.php:32</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_method_html_a0fa2079426d0262e759c4105fa4e9163"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_method.html#a0fa2079426d0262e759c4105fa4e9163">PCM\Structures\PMethod\getMethodName</a></div><div class="ttdeci">getMethodName()</div><div class="ttdef"><b>Definition:</b> <a href="pmethod_8class_8php_source.html#l00076">pmethod.class.php:76</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a10329b4d402e15661b469dfd6cf92568"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a10329b4d402e15661b469dfd6cf92568">PCM\Structures\PClass\getVar</a></div><div class="ttdeci">getVar(string $var_name)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00109">pclass.class.php:109</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_aefab41a105816740e295c5f29708f85d"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#aefab41a105816740e295c5f29708f85d">PCM\Structures\PClass\addConst</a></div><div class="ttdeci">addConst(PConst $const)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00243">pclass.class.php:243</a></div></div>
<div class="ttc" id="ptypeclass_8consts_8php_html_a65cec5559c341134e7cc9d008bf92f34"><div class="ttname"><a href="ptypeclass_8consts_8php.html#a65cec5559c341134e7cc9d008bf92f34">NATIVE_CLASS</a></div><div class="ttdeci">const NATIVE_CLASS</div><div class="ttdoc">Обычный класс </div><div class="ttdef"><b>Definition:</b> <a href="ptypeclass_8consts_8php_source.html#l00014">ptypeclass.consts.php:14</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a34ba5984e16f17633afe3930711d89fb"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a34ba5984e16f17633afe3930711d89fb">PCM\Structures\PClass\$consts</a></div><div class="ttdeci">$consts</div><div class="ttdoc">Константы </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00035">pclass.class.php:35</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_af989ca73cef04684335014eb644b4a70"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#af989ca73cef04684335014eb644b4a70">PCM\Structures\PClass\addVar</a></div><div class="ttdeci">addVar(PVar $var)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00216">pclass.class.php:216</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a722a0e9e6b6eb6a0a807f6327a190bf7"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a722a0e9e6b6eb6a0a807f6327a190bf7">PCM\Structures\PClass\getConst</a></div><div class="ttdeci">getConst(string $const_name)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00129">pclass.class.php:129</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a09f2c833c130b4443725fb576d9d5269"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a09f2c833c130b4443725fb576d9d5269">PCM\Structures\PClass\$vars</a></div><div class="ttdeci">$vars</div><div class="ttdoc">Свойства </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00034">pclass.class.php:34</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a802753499268a04da139bd6e6ef89b35"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a802753499268a04da139bd6e6ef89b35">PCM\Structures\PClass\$methods</a></div><div class="ttdeci">$methods</div><div class="ttdoc">Методы </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00036">pclass.class.php:36</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a7516ca30af0db3cdbf9a7739b48ce91d"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a7516ca30af0db3cdbf9a7739b48ce91d">PCM\Structures\PClass\__toString</a></div><div class="ttdeci">__toString()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00374">pclass.class.php:374</a></div></div>
<div class="ttc" id="ptypeclass_8consts_8php_html_a9112165d1b543dde44d0d74a817550b7"><div class="ttname"><a href="ptypeclass_8consts_8php.html#a9112165d1b543dde44d0d74a817550b7">ABSTRACT_CLASS</a></div><div class="ttdeci">const ABSTRACT_CLASS</div><div class="ttdoc">Абстрактный класс </div><div class="ttdef"><b>Definition:</b> <a href="ptypeclass_8consts_8php_source.html#l00015">ptypeclass.consts.php:15</a></div></div>
<div class="ttc" id="namespace_p_c_m_1_1_structures_1_1_p_const_html"><div class="ttname"><a href="namespace_p_c_m_1_1_structures_1_1_p_const.html">PConst</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a4a205c628c8a391f422448e215665a73"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a4a205c628c8a391f422448e215665a73">PCM\Structures\PClass\getConsts</a></div><div class="ttdeci">getConsts()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00119">pclass.class.php:119</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_ab8f8ee56588ebf5091c288e44ebdfaf4"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#ab8f8ee56588ebf5091c288e44ebdfaf4">PCM\Structures\PClass\getClassName</a></div><div class="ttdeci">getClassName()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00070">pclass.class.php:70</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a168fb922707ce8a01d415ba9aad9b2fb"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a168fb922707ce8a01d415ba9aad9b2fb">PCM\Structures\PClass\addConsts</a></div><div class="ttdeci">addConsts(array $consts)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00226">pclass.class.php:226</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a276f494557fad9a0d2c76eb2419bd5d3"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a276f494557fad9a0d2c76eb2419bd5d3">PCM\Structures\PClass\getMethod</a></div><div class="ttdeci">getMethod(string $method_name)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00149">pclass.class.php:149</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_aa42966c65ac71d57cb693748e2908aaf"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#aa42966c65ac71d57cb693748e2908aaf">PCM\Structures\PClass\getClassType</a></div><div class="ttdeci">getClassType()</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00089">pclass.class.php:89</a></div></div>
<div class="ttc" id="namespace_p_c_m_1_1_structures_1_1_p_var_html"><div class="ttname"><a href="namespace_p_c_m_1_1_structures_1_1_p_var.html">PVar</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a23c7beddfc676404c096f7769781b558"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a23c7beddfc676404c096f7769781b558">PCM\Structures\PClass\__construct</a></div><div class="ttdeci">__construct(string $class_name, string $superclass_name=&quot;&quot;, int $class_type=NATIVE_CLASS)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00044">pclass.class.php:44</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_aefc5b0c7de95d78a9d9b52a155546f90"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#aefc5b0c7de95d78a9d9b52a155546f90">PCM\Structures\PClass\setSuperClassName</a></div><div class="ttdeci">setSuperClassName(string $supclass)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00168">pclass.class.php:168</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_const_html_a316ad9cd5afee266fa30f53a79c1b3d3"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_const.html#a316ad9cd5afee266fa30f53a79c1b3d3">PCM\Structures\PConst\getConstName</a></div><div class="ttdeci">getConstName()</div><div class="ttdef"><b>Definition:</b> <a href="pconst_8class_8php_source.html#l00017">pconst.class.php:17</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a3bf4c26cf1825f5cb17009b2c3095674"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a3bf4c26cf1825f5cb17009b2c3095674">PCM\Structures\PClass\addMethod</a></div><div class="ttdeci">addMethod(PMethod $method)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00270">pclass.class.php:270</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a31b4c2808daa08bcea0f4ce60f75537d"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a31b4c2808daa08bcea0f4ce60f75537d">PCM\Structures\PClass\addMethods</a></div><div class="ttdeci">addMethods(array $methods)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00253">pclass.class.php:253</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html">PCM\Structures\PClass</a></div><div class="ttdoc">Класс описывает сущность &quot;Класс&quot;. </div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00028">pclass.class.php:28</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_var_html_a01f345a64ec10225d4205181cf82c811"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_var.html#a01f345a64ec10225d4205181cf82c811">PCM\Structures\PVar\getVarName</a></div><div class="ttdeci">getVarName()</div><div class="ttdef"><b>Definition:</b> <a href="pvar_8class_8php_source.html#l00050">pvar.class.php:50</a></div></div>
<div class="ttc" id="class_p_c_m_1_1_structures_1_1_p_class_html_a14920c232341bc5ded4cefc8c7323551"><div class="ttname"><a href="class_p_c_m_1_1_structures_1_1_p_class.html#a14920c232341bc5ded4cefc8c7323551">PCM\Structures\PClass\setClassType</a></div><div class="ttdeci">setClassType(int $class_type)</div><div class="ttdef"><b>Definition:</b> <a href="pclass_8class_8php_source.html#l00178">pclass.class.php:178</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по PHP Class Manager (Smart PHP). Последние изменения: Пн 28 Авг 2017 18:43:46. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
